package cn.com.bob.messageboard.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author Bob
 * @Version：1.0
 */
@Data
@Component
//从配置文件里获取
@ConfigurationProperties(prefix = "wechat")
public class WechatAccountConfig {

    /**
     * 公众平台id
     */
    private String AppId;

    /**
     *公众平台密钥
     */
    private String mpAppSecret;

    /**
     *微信模板id
     */
    private Map<String,String> templateId;
}
